package com.znsd.zl.sys;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ClassName SysProviderApplication
 * @Description 系统服务应用启动类
 * @Author jaypdd
 * @Date 2020/8/12 22:51
 * @Version v1.0
 */
@SpringBootApplication
@EnableDiscoveryClient // 开启服务注册发现客户端
@EnableFeignClients("com.znsd.zl.api")    // 开启远程调用，并扫描feign接口
public class SysProviderApplication {

	public static void main(String[] args) {
		SpringApplication.run(SysProviderApplication.class, args);
		System.out.println("-------------------------系统服务 port：8080-------------------------");
	}

}
